package yicr.untils.gis.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class NslPoint {

    private String id;

    private  double x;
    private  double y;

    /**
     * Construct a point at the given coordinates.
     * @param x x-coordinate
     * @param y y-coordinate
     */
    public NslPoint(double x, double y) {
        this.x = x;
        this.y = y;
    }


    public double x(){
        return x;
    }

    public double y(){
        return y;
    }



}
